The online racing simulator
Searching in All forums
(113 results)
G. Dierckx
S2 licensed
Oh you didn't go for the full hd? The image should be alot more sharpen than..
G. Dierckx
S2 licensed
you hurt my feelings
G. Dierckx
S2 licensed
You left me out

Anyway I'm Glenn noob InSim creator & "owner" of windstyle
G. Dierckx
S2 licensed
The only thing I know is that I would go for a 100hz tv.. I don't know if it's just me, but my eyes hurt when I play like 30 minutes on a low hz screen..
G. Dierckx
S2 licensed
Quote from Jakg :Vista isn't tied to the disk.

The OEM copy *should* only install on once PC - ever, and never re-activate - but i've gone through different mobo's, gfx cards, network cards etc without it ever not re-activating.

The retail copies of Vista *should* activate fine on 3 PC's then refer you to the phone line - but they will do many more.

Well I have a OEM version... Installed it on my acer and a year later on my macbook... Never had problems activating... I had expected more from microsoft!
Windows activation question
G. Dierckx
S2 licensed
Hey,

I just had a question about windows activation, I bought a Vista Home Premium license about 1.5 years ago, I installed it on my laptop and after 3 weeks I installed xp again.

Now a few months ago, I tried to install vista on my macbook pro (bootcamp offc) and I was surprised that, even tho I already activated it on my older laptop, I had no problems activating vista at all...

Now is there anyone who knows if there is just a delay wich "resets" your activation thing on vista? Cause I would like to activate vista in my Parallels Desktop (running windows while working on mac) but I think I now might get problems activating again in such a short time..

Regards,
Glenn
G. Dierckx
S2 licensed
Quote from dougie-lampkin :You _could_ connect multiple programs on the same port, but that wouldn't help anything. It's not going to speed up the way LFS sends and receives packets. Assuming you're connecting it to a local server, there should be no "lag" with sending buttons, only at the client's end. What you could (and should) do, is make your program multi-threaded, to receive and send packets on different threads. Set each important receive/send event on it's own thread, and leave everything else in the main program thread. Should help a bit if there's heavy CPU work being done

Hmmm ok, gona be a lot of work but I'll try to fix it that way... thanks anyway
Speedup a insim
G. Dierckx
S2 licensed
Hey,

I had a idea but tho I have no idea if it would make any difference.

I'm currently working on a insim with loads of buttons etc, wich makes the insim goes a bit slower.

Does the lfs host support multithreading?

For example:

Instead of 1 insim connection, I make 2, 1 I use the receive packets (so that the most important thing is always right) and another insim connection, to the same server to sent all my buttons etc...

Would this help? Or would it stay the same...
G. Dierckx
S2 licensed
Than perhaps you might know Nadine De Roover... she's my niece I think she should be about your age and graduated at the GIB
G. Dierckx
S2 licensed
Quote from obsolum :Totally off topic, but I just noticed that you're from Brasschaat, Glenn. Good to see a fellow Brasschaatenaar here Small world...

Nice, Indeed small world. And yeah I went to GIB, but only 2 years, from 2000 till 2002. You?
G. Dierckx
S2 licensed
For example:
http://www.lfsworld.net/pubsta ... S.C+%95+Aston+Cruise+%231

Containing all drivers and all serverinfo
G. Dierckx
S2 licensed
why not using the JSON file from lfs live progress?
G. Dierckx
S2 licensed
Basicly a lfs2join tray application... But it's easy so i don't need to remember all those admin passwords

If anyone is intrested in one with a custom server list... Then I'll release it with config file etc.

Anyway big thanks mate!
G. Dierckx
S2 licensed
It did the job! Just the thing I needed.

Added the result in a attachment.
G. Dierckx
S2 licensed
Quote from DarkTimes :Actually here's an answer from Stack Overflow with code for doing it with a custom control using GDI.

http://stackoverflow.com/quest ... e-colors-in-a-c-net-label

Oh thanks, I'll try this one.
G. Dierckx
S2 licensed
Quote from DarkTimes :There is no way to natively do this in .NET with Windows.Forms, as far as I'm aware, but you could create separate labels for each fore-colour and then position them so they looked like they were all part of the same label.

Another way you could do it would be to create the label as a RichTextBox control, where you can set rich font styling for the text, then just set the border of the control to none, and set the background colour to the same colour as the rest of your control, and it would look just like a label, except with the font-styling.

Both of these ways would support hooking up OnClick events to catch when the user clicks the control.

If you wanted to ditch Windows.Forms you could write your application with Windows Presentation Foundation, which has much more powerful graphics capabilities.

Is it also possible to disable selection?
G. Dierckx
S2 licensed

It was in top gear... what a machine!
C# Form Application -> label style
G. Dierckx
S2 licensed
Hey,

I'm trying to make a tray application with a join function to automaticly start lfs with your favorite servers.

Tho that already worked out quite well. Now I'm making a new one in a kinda vista style tray application.

And my question is, is their any way to display lfs server colors in a label / button / ...

The only way I found is with the WebBrowser control... but there is no way I think on catching url clicks.. Like when you click in the webbrowser control on "Host Name" you catch the event in C#, call up a function and start lfs...
G. Dierckx
S2 licensed
Quote from Dygear :Yeah, it's basically how the browser is interpreting the file. Placeing the correct header, or adding the correct information into the <head> section of the HTML document will fix that error with a meta tag.

Yeah, but still I don't know, how come only header('Content-type: text/html; charset=ISO-8859-1'); works and not header('Content-type: text/html; charset=UTF-8');

I thought most files from lfs worked with unicode thing...
G. Dierckx
S2 licensed
header('Content-type: text/html; charset=ISO-8859-1');

did the trick... Noticed it by coincidence i made a new php file without th e <html> tags and it displayed the circles right...

So did right click properties in firefox and it said charset is ISO-8859-1..

Tho this is prolly not the right way (but it works for now)...

If anyone has a better solution, let me know.

Thanks already!
Bedankt hé
G. Dierckx
S2 licensed
Quote from elmohellno :Are you using Unicode16 or ascii?

I'm a bit amateur so don't know everything about programming in Php.. so tbh I have no idea...

Tho this is what I use to read & write config files:
Read:

<?php 
$fh 
fopen($file'r');
$configContent fread($fhfilesize($file));
fclose($fh);
?>

Write:

<?php 
$fh 
fopen($file'w');
fwrite($fh$configUpdated);
fclose($fh);
?>

PHP -> Config files
G. Dierckx
S2 licensed
Hello,

I'm making a web based server control panel for lfs.

Now I have a problem with the special chars in lfs...

An example:

I want to add • in a server name,

so I open the .cfg file and put • at the "/host=" part

When I saved the config file and start the server, • shows as hostname in lfsworld.

When I open the web config editor it shows : � where the dot should be.

When I replace the � in the config panel with a •, then it reads fine in the control panel.

When I now restart the server, it shows • on lfsworld...

Anyone know how to fix this?

ps: I used fwrite() an fread() to write & read the config files.
Vista suddenly asks for Password @ login
G. Dierckx
S2 licensed
Hey,

I know this totally doesn't has anything todo on lfs, But I rly need help on a vista problem...

I have one useraccount on my laptop wich is Glenn, it doesn't have a password. Have been working on it yesterday till the evening and shutted down my laptop normally.

Now I want to start it up and it asks for a Password??

Tried inserting nothing but it says "wrong password"... Anyone know a way how to reset it?

I tried starting up in "safe modus" or however it's spelled in english, cause in xp it shows administrator account, but in vista.. it doesn't.

Can someone help me on this one?
G. Dierckx
S2 licensed
why not a top gear option in lfs?? would be awesome
G. Dierckx
S2 licensed
thanks
FGED GREDG RDFGDR GSFDG